package com.example.goodsass.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    private String userAvatar;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户账号（登陆用）
     */
    private String userAccount;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String salt;

    /**
     * 用户角色
     */
    private String roleName;

    private Integer status;

    @TableLogic
    private Integer delFlag;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}